import requests
kv={'key1':'value1','key2':'value2'}
fs={'file':open('F:\\11\\11.jpg','rb')}
r=requests.request('GET','http://python123.io/ws',params=kv)
r=requests.request('POST','http://python123.io/ws',files=fs)
print(r.url)